module.exports = {
  publicPath: './',
  outputDir: 'dist',
  assetsDir: 'assets',
  lintOnSave: false,
  productionSourceMap: false,
  parallel: true,
  devServer: {
    hotOnly: false,
    host: '0.0.0.0',
    proxy: {
    "/App": {
        target: "http://www.6080er.com/App", //对应自己的接口
        changeOrigin: true,
        ws: true,
        pathRewrite: {
            "^/App": ""
        }
      }
    }
     
  },
  css: {
    loaderOptions: {
      stylus: {
        'resolve url': true,
        'import': []
      }
    }
  },
  pluginOptions: {
    'cube-ui': {
      postCompile: true,
      theme: false
    }
  }
}
